package com.lagou.biz;

import java.util.List;

import com.lagou.entity.Business;
import com.lagou.entity.Company;
import com.lagou.entity.First;
import com.lagou.entity.Position;
import com.lagou.entity.Second;
import com.lagou.entity.Third;
import com.lagou.entity.UBasic;
import com.lagou.entity.User;

public interface ManagerBiz {
	public List<Company> queryByPage(int page,int size);
	public int getCount();
	public int getPositionCount();
	public List<Position> queryPositionByPage(int page,int size);
	public List<Company> queryAll();
	public int getUBCount();
	public List<UBasic> queryUBByPage(int page,int size);
	public List<Second> queryAllSecond();
	public List<Third> queryAllThird();
	public boolean addf(First f);
	public boolean adds(Second s);
	public boolean addt(Third t);
	public First queryByFName(String name);
	public List<Second> querySecondByFId(int id);
	public Second queryBySName(String name);
	public List<Third> querySecondByTId(int id);
	public boolean updateByBId(int bid,int st);  
	public boolean updateByPId(int pid,int st);
	public boolean updateByUId(int uid,int st); 
	public List<Business> queryAllB();
	public boolean updateByCId(int bid,int st); 
	public List<User> queryAllU();
}
